using System;
using System.Collections.Generic;
using System.Text;
using OgilvyOne.DALFactory;
using OgilvyOne.IDAL;
using OgilvyOne.Model;
using System.Collections;
namespace OgilvyOne.BLL
{
    public class Func
    {
        // Methods
        public void Delete(int func_uid)
        {
            OgilvyOne.DALFactory.Func.Create().Delete(func_uid);
        }

        public IList getFuncList()
        {
            return OgilvyOne.DALFactory.Func.Create().getFuncList();
        }

        public IList getFuncList(int funcid)
        {
            return OgilvyOne.DALFactory.Func.Create().getFuncList(funcid);
        }

        public IList getFuncList(string fName)
        {
            return OgilvyOne.DALFactory.Func.Create().getFuncList(fName);
        }

        public IList getFuncList(int funcid, string fName)
        {
            return OgilvyOne.DALFactory.Func.Create().getFuncList(funcid, fName);
        }

        public void Insert(FuncInfo func)
        {
            OgilvyOne.DALFactory.Func.Create().Insert(func);
        }

        public void Update(FuncInfo func)
        {
            OgilvyOne.DALFactory.Func.Create().Update(func);
        }

    }
}
